package br.jcrsistemas.database;

import java.sql.Connection;
import java.sql.SQLException;

public interface Conexao {
	public void iniciaTransacao() throws SQLException;
	public void encerraTransacao() throws SQLException;
	public void commit() throws SQLException;
	public void rollback() ;
	public String getLastInsertID(String tabela, String campo);
	public Connection getConnection() throws SQLException;
	public String getDialeto();
	public String getURLConexao();
	public String getDriverClass();
}
